﻿@model CategoryModel


@{
    ViewBag.Title = "Categories";
}

<h2>Categoies</h2>
<table><tr><td>
<table class="highlightTr">
    <tr>
        <th>
            Movie Genres
        </th>
    </tr>
            @foreach (var category in Model.Genre) {
                <tr>
                    <td>
                        @Html.HiddenFor(modelItem => category.Enum)
                        @Html.ActionLink(category.EnumDescription, "SelectedCategory", new { id = category.Enum.ToString() })
                    </td>
               </tr>
            }
</table>
</td><td style="vertical-align: top;">
<table class="highlightTr">
    <tr>
        <th>
            Video Types
        </th>
    </tr>        
            
            @foreach (var videoType in Model.VideoTypes) {
               <tr>
                    <td>
                        @Html.HiddenFor(modelItem => videoType.Enum)
                        @Html.ActionLink(videoType.EnumDescription, "SelectedCategory", new { id = videoType.Enum.ToString()  })
                    </td>
               </tr>
            }
</table>

</td></tr></table>